﻿#ifndef M_FHS_H
#define M_FHS_H

#include "g_ver.h"
#include "head/g_fhs.h"

#define APP_ROOT "/QVertex"
#define APP_REG "HKEY_CURRENT_USER\\Software\\elfproj\\QVertex"

#define M_CONFIG QString(FHS_ETC) + SP_CFG
#define DB_CONFIG "../etc/storage.ini"
#define CFG_UPDATE "../etc/updater.ini"

#define TD_STOCK "td_stock"
#define TD_LOSS "td_loss"
#define TD_LEND "td_lend"

#define TD_REJECT_INDEX "td_reject_index"
#define TD_REJECT_DETAIL "td_reject_detail"

#define TD_EPIBOLY_INDEX "td_epiboly_index"
#define TD_EPIBOLY_DETAIL "td_epiboly_detail"
#define TD_EPIBOLY_STUFF "td_epiboly_stuff"

#define PLAN_EPIBOLY_INDEX "td_epiboly_plan_index"
#define PLAN_EPIBOLY_DETAIL "td_epiboly_plan_detail"

#define SEND_PORT 23323

#define T_STOCK QStringLiteral("到货通知")
#define T_LOSS QStringLiteral("报损通知")
#define T_REJECT QStringLiteral("退货通知")

#define ST_WAIT QStringLiteral("【等待处理】")
#define ST_RUNNING QStringLiteral("【处理中】")
#define ST_TRACE QStringLiteral("【跟进中】")
#define ST_TOKEN QStringLiteral("【未归还】")

#define ST_FINISH QStringLiteral("【已完成】")
#define ST_LOSS QStringLiteral("【已报损】")
#define ST_CANCEL QStringLiteral("【已取消】")

#define STOCK_NOTICE QStringLiteral("仓库有新的入库记录，请注意查看。")
#define LOSS_NOTICE QStringLiteral("仓库有新的报损记录，请注意查看。")
#define REJECT_NOTICE QStringLiteral("仓库有新的退货记录，请注意查看。")

#define PAIR_INDEX "INDEX"
#define PAIR_DETAIL "DETAIL"

#define TD_OPTIONS "td_options"
#define LST_PROVIDER "provider"
#define LST_CONTRACTOR "contractor"
#define LST_RECEIVER "receiver"

#endif // M_FHS_H
